﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Reflection;

namespace HashMe
{
    public partial class FormAbout : Form
    {
        public FormAbout()
        {
            InitializeComponent();

            var versionAttribute = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyFileVersionAttribute), true).FirstOrDefault() as AssemblyFileVersionAttribute;
            if (versionAttribute != null)
            {
                lblVersion.Text = versionAttribute.Version;
            } 
        }


    }
}
